.floating-button {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-style: solid;
  border-width: 10px; // 设置足够的边框宽度用于切片
  border-image: url("@/assets/images/png/panel-btn-bg.png") 15 fill stretch;
  outline: none;
  box-sizing: border-box;
  user-select: none;

  &.active {
    border-image: url("@/assets/images/png/panel-btn-bg-active.png") 15 fill stretch;
  }

  .floating-button-text {
    color: #fff;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}